package com.auto.base.mapper;

import com.auto.base.pojo.ShopItem;
import com.auto.base.pojo.ShopItemExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface ShopItemMapper extends BaseMapper{
    int countByExample(ShopItemExample example);

    int deleteByExample(ShopItemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ShopItem record);

    int insertSelective(ShopItem record);

    List<ShopItem> selectByExample(ShopItemExample example);

    ShopItem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ShopItem record, @Param("example") ShopItemExample example);

    int updateByExample(@Param("record") ShopItem record, @Param("example") ShopItemExample example);

    int updateByPrimaryKeySelective(ShopItem record);

    int updateByPrimaryKey(ShopItem record);
}